<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');
class CI_DB_ibase_utility extends CI_DB_utility
{
	protected function _backup($filename)
	{
		if ($service = ibase_service_attach($this->db->hostname, $this->db->username, $this->db->password)) {
			$res = ibase_backup($service, $this->db->database, $filename . '.fbk');
			ibase_service_detach($service);
			return $res;
		}

		return false;
	}
}

?>
